package com.desaysv.hicar.IProxy.proxy.impl;

import android.util.Log;

import com.desaysv.hicar.IProxy.ProxyFactory;
import com.desaysv.hicar.IProxy.proxy.IProxyInstance;

/**
 * @author linzi
 * @date 2022-7-18
 */
public  class Proxy3 implements IProxyInstance<Proxy3> {
    private final static String TAG= Proxy3.class.getName();
    public Proxy3(){
        Log.d(TAG,"proxy3");
        if (ProxyFactory.getFactory().checkInit(this.getClass())) {
            throw new RuntimeException("has init !!! please use ProxyFactory.getProxy(Proxy3.class) to get instance for this class");
        }
    }
    @Override
    public Proxy3 getInstance() {
        return this;
    }

    public void print3(){
        Log.d(TAG,"proxy333333333333333");
    }
}
